﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.CardArrival
{
    /// <summary>
    /// 白卡入库明细_实体类
    /// </summary>
    [Serializable]
    public partial class Storage_Detailed_Card
    {
        public Storage_Detailed_Card()
        { }
        #region Model
        private string _id = "sys_guid";
        private string _boxno;
        private string _startno;
        private string _endno;
        private string _cardno;
        private decimal? _deservednumber;
        private decimal? _actualnumber;
        private string _missingcardno;
        private string _checkid;

        #region 便于查询字段
        private string _PConNo; //合同编号
        private string _OrderNo; //订单编号
        private string _CheckNo; //卡片验收编号
        private string _CardTypeName; //卡片名称
        private string _BasicTypeName; //芯片名称
        private string _Maincode; //主卡编号
        private string _Childcode; //子卡编号
        private string _Batchno; //批次号
        private string _SuppliersName;//供应商名称
        #endregion

        /// <summary>
        /// 主键ID
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 箱号
        /// </summary>
        public string BOXNO
        {
            set { _boxno = value; }
            get { return _boxno; }
        }

        /// <summary>
        /// 起始卡号
        /// </summary>
        public string STARTNO
        {
            set { _startno = value; }
            get { return _startno; }
        }
        /// <summary>
        /// 结束卡号
        /// </summary>
        public string ENDNO
        {
            set { _endno = value; }
            get { return _endno; }
        }

        /// <summary>
        /// 盒号
        /// </summary>
        public string CARDNO
        {
            set { _cardno = value; }
            get { return _cardno; }
        }
        /// <summary>
        /// 应有数量/张
        /// </summary>
        public decimal? DESERVEDNUMBER
        {
            set { _deservednumber = value; }
            get { return _deservednumber; }
        }
        /// <summary>
        /// 实际数量/张
        /// </summary>
        public decimal? ACTUALNUMBER
        {
            set { _actualnumber = value; }
            get { return _actualnumber; }
        }
        /// <summary>
        /// 缺卡卡号
        /// </summary>
        public string MISSINGCARDNO
        {
            set { _missingcardno = value; }
            get { return _missingcardno; }
        }

        /// <summary>
        /// 外键入库验收ID
        /// </summary>
        public string CHECKID
        {
            set { _checkid = value; }
            get { return _checkid; }
        }

        #region 便于查询字段
        /// <summary>
        /// 合同编号
        /// </summary>
        public string PConNo
        {
            get { return _PConNo; }
            set { _PConNo = value; }
        }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo
        {
            get { return _OrderNo; }
            set { _OrderNo = value; }
        }
        /// <summary>
        /// 卡片验收编号
        /// </summary>
        public string CheckNo
        {
            get { return _CheckNo; }
            set { _CheckNo = value; }
        }

        /// <summary>
        /// 卡类型名称
        /// </summary>
        public string CardTypeName
        {
            get { return _CardTypeName; }
            set { _CardTypeName = value; }
        }

        /// <summary>
        /// 芯片类型名称
        /// </summary>
        public string BasicTypeName
        {
            get { return _BasicTypeName; }
            set { _BasicTypeName = value; }
        }

        /// <summary>
        /// 主卡编号
        /// </summary>
        public string Maincode
        {
            get { return _Maincode; }
            set { _Maincode = value; }
        }

        /// <summary>
        /// 子卡编号
        /// </summary>
        public string Childcode
        {
            get { return _Childcode; }
            set { _Childcode = value; }
        }

        /// <summary>
        /// 批次号
        /// </summary>
        public string Batchno
        {
            get { return _Batchno; }
            set { _Batchno = value; }
        }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SuppliersName
        {
            get { return _SuppliersName; }
            set { _SuppliersName = value; }
        }

        #endregion

        #endregion Model
    }
}
